home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 419_01 / odmg10 / lib / odmg / Bag.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-28  |  662 b   |  41 lines

  1. /*******************************<+>***************************
  2.  **                             DTA
  3.  *************************************************************
  4.  **
  5.  **  $Id: Bag.h,v 1.6 1994/03/01 23:01:20 dta Exp $
  6.  **
  7.  **  $Source: /cvs/lib/odmg/Bag.h,v $
  8.  **
  9.  **  What @(#):
  10.  **
  11.  **  Author: Dale T. Anderson
  12.  **
  13.  *******************************<+>***************************/
  14.  
  15. #ifndef _Bag_h
  16. #define _Bag_h
  17.  
  18. #include <Odmg/List.h>
  19.  
  20. template <class T> class Bag :
  21.     public List <T>
  22. {
  23.     public:
  24.  
  25.     Bag ();
  26.     virtual ~Bag ();
  27. };
  28.  
  29. template <class T>
  30. Bag<T>::Bag (void)
  31. {
  32.     m_allows_duplicates = TRUE;
  33. }
  34.  
  35. template <class T>
  36. Bag<T>::~Bag (void)
  37. {
  38. }
  39.  
  40. #endif
  41.